/**
 * 
 * Interface Enter
 * 
 * 这里放api接口
 * 
 */ 

// const enter ='https://tcsydj.cn/' 
const enter ='https://yjyksaas.admin168.net/'
// const enter='https://ly.service.7soo.cn/'
// var enter = 'https://yjykmaster.admin168.net/';  // _服务器
// const enter = 'http://192.168.0.200:8081/'; // 本地
// const enter = 'http://192.168.0.106:8081/'; // '分销'本地

const apis = {
	// 测试
	getDyH5Code: 'api/wx/get',

	// 基本资料认证
	savePersonalInformation: 'door-massage/api/wxOfficialAccount/official-account/savePersonalInformation',
	// 根据站点id查询类目 （可共用)
	getByServiceCategoriesSiteId: 'door-massage/api/TechnicianEnd/service-categories/getByServiceCategoriesSiteId',
	// 技师员工标签添加修改 （可共用)
	updatePersonalTags: 'door-massage/api/TechnicianEnd/technician/updatePersonalTags',
	// 获取存储配置 
	getStorageConfig: 'door-massage/massage/storageConfig/get',
	/* 分销 */
	// 根据站点域名查询站点id
	getSiteDomainName: 'door-massage/massage/site/getSiteDomainName',
	// 获取提现金额
	getWithdrawDate: 'door-massage/massage/technicianWithdrawal/getWithdrawDate',
	// 申请提现
	technicianWithdrawal: 'door-massage/massage/technicianWithdrawal',
	// 提现账户新增/修改，修改多传id——注意请求方式和传值不一致（可共用）
	withdrawalAccount: 'door-massage/massage/withdrawalAccount',

	// 提现账户查询（可共用）
	getWithdrawalAccount: 'door-massage/massage/withdrawalAccount/get',

	//  保存技师选择类目
	saveTechnicianSelectionCategory: 'door-massage/api/technicianCategories/wjyk-massage-technician-categories/save',
	// 根据id 查询套餐
	queryPackage: 'door-massage/api/TechnicianEnd/package-list/getSelectClassificationQueryPackage',
	// 保存技师选择套餐
	savePackage: 'door-massage/api/technicianCategories/technician-categories-package/save',
	// 根据技师id查询选择的类目
	getByTechnicianCategory: 'door-massage/api/TechnicianEnd/service-categories/getByTechnicianCategory',
	// 查询当前的技师
	queryTechnician: 'door-massage/api/TechnicianEnd/technician',
	// 获取用户评价头部
	getUserEvaluationHead: 'door-massage/api/TechnicianEnd/technician-evaluation/getUserEvaluationHead',
	// 获取用户评价List
	getUserEvaluationList: 'door-massage/api/TechnicianEnd/technician-evaluation/getUserEvaluationList',
	// 获取小程序头部收益统计
	getXcxHeadEarnings: 'door-massage/massage/financialManagement/getXcxHeadEarnings',
	// 获取小程序收益统计
	getXcxEarnings: 'door-massage/massage/financialManagement/getXcxEarnings',
	// 获取小程序收益统计List
	getXcxEarningsList: 'door-massage/massage/financialManagement/getXcxEarningsList',
	// 微信授权
	loginAuth: 'door-massage/wx/code',
	// 微信授权保存用户
	userLogin: 'door-massage/wx/userLogin',
	// 获取小程序提现记录
	technicianWithdrawal: 'door-massage/massage/technicianWithdrawal/getXcxWithdrrawalRecords',
	// 获取小程序提现记录/massage/technicianWithdrawal
	withdrawal: 'door-massage/massage/technicianWithdrawal',
    
	// 申请提现列表
	// getWithdrawalList: 'door-massage/massage/technicianWithdrawal/page',
	// 上传到七牛云
	qnyOssSignature: 'door-massage/massage/upload/qnyOssSignature',
	// 上传到阿里云         
	alyOssSignature: `door-massage/massage/upload/alyOssSignature`,
	// 获取头部用户信息
	getPersonInfo: 'door-massage/massage/individualCenter/getUserInfo',
	// 获取紧急救援
	sendSmsRequest: 'door-massage/aly/sendSmsRequest',
	// 根据分类id查询类目
	getSelectClassificationQueryPackage: 'door-massage/api/TechnicianEnd/package-list/getSelectClassificationQueryPackage',
	// 根据技师查询套餐
	getSelectTechnicianId: 'door-massage/api/TechnicianEnd/package-list/getSelectTechnicianId',
	// 反馈意见接口
	feedback: 'door-massage/massage/feedback',
	// 获取技师id
	getTechnicianId: 'door-massage/api/TechnicianEnd/technician/getSelectUserId',
	// 查询技师统计订单
	getSelectTechnicianStatistics: 'door-massage/api/TechnicianEnd/technician/getSelectTechnicianStatistics',
   
	
	// 忙时设置
	saveBusyHourSetting: 'door-massage/api/TechnicianEnd/technician/saveBusyHourSetting',
	// 忙时设置回显
	getBySelectBusyHourSetting: 'door-massage/api/TechnicianEnd/technician/getBySelectBusyHourSetting',
	// 手机号
	technicianModifyIphone: 'door-massage/api/TechnicianEnd/technician/update',
	// 技师id查询订单
	getSelectTechnicianOrder: 'door-massage/massage/order/getXcxSelectTechnicianOrder',
    // 订单完成接口
     orderUpdate:'door-massage/massage/order/update',
	// 技师端——修改订单状态
	updateOrder: 'door-massage/massage/order/transferOrderUpdate',
	 
	// 退款接口 
	refund:'door-massage/api/refundIst/save',

	// 查询可转单技师——我要转单
	getSelectByTransferTechnician: 'door-massage/api/TechnicianEnd/technician/getSelectByTransferTechnician',

    getPhoneCode:'door-massage/wx/getPhone',
	// 查询技师评论根据技师id查询
	getByTechnicianComments: 'door-massage/api/TechnicianEnd/technician-evaluation/getByTechnicianComments',

	// 查询技师详情
	// /api/TechnicianEnd/technician/{id} 根据id查询技师详情__查询“申请技师”的申请状态
	getByTechnicianDetails: 'door-massage/api/TechnicianEnd/technician/',
	// 是否关注公众号
	gzh:'door-massage/wx/info',
	
	// 提现方式
	withdrawalSettings:'door-massage/massage/withdrawalSettings/get',
    // 查询我的统计
	getSelectStatisticsMy:'door-massage/api/TechnicianEnd/technician/getSelectStatistics',
	sitePlatformConfig:'door-massage/massage/sitePlatformConfig/get',
	
	// 查看用户详情接口
	orderDetail: 'door-massage/massage/order/',	
	
	// 查询忙时设置 数据回显
	getBySelectBusyHourSetting:'door-massage/api/TechnicianEnd/technician/getBySelectBusyHourSetting',
	
	// 查询技师已预约时间
	getTechnicianHourSetting:'door-massage/massage/order/technicianTime',
	orderSave: 'door-massage/massage/order/saveOrderPayment', 
   // 创建订单
    createUpdate:'door-massage/massage/order/createUpdate'
}

for (let key in apis) {
	apis[key] = `${enter}${apis[key]}`;
}

module.exports = apis;